﻿namespace Ayatta.Contract.Domain
{
    /// <summary>
    /// 竞拍获得的拍品兑换信息
    /// </summary>
    public class OrderExchangeDetail : BaseEntity<int>
    {
        /// <summary>
        /// 订单Id
        /// </summary>
        public string OrderId { get; set; }
        /// <summary>
        /// 类别 0为竞购获得的拍品兑换为积分 1为竞购获得的拍品兑换为免费拍币
        /// </summary>
        public byte Category { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// SkuId
        /// </summary>
        public int SkuId { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public int ItemId { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 拍品Id
        /// </summary>
        public int AuctionId { get; set; }
        /// <summary>
        /// 兑换值
        /// </summary>
        public int Amount { get; set; }
        /// <summary>
        /// 买家Id
        /// </summary>
        public int BuyerId { get; set; }
        /// <summary>
        /// 商家Id
        /// </summary>
        public int SellerId { get; set; }
        /// <summary>
        /// 扩展信息
        /// </summary>
        public string Extra { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }
    }
}